package controller.entity;

/**
 * Created by asus on 2017/6/19.
 */
public class Tables {
    private String titles;
    private Integer total;
    private Object rows;

    //为了得到反射信息而额外的字段
    private String className;
    private String methodName;

    public Tables() {
    }

    public String getTitles() {
        return titles;
    }

    public void setTitles(String titles) {
        this.titles = titles;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Object getRows() {
        return rows;
    }

    public void setRows(Object rows) {
        this.rows = rows;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    @Override
    public String toString() {
        return "Tables{" +
                "titles='" + titles + '\'' +
                ", total=" + total +
                ", rows=" + rows +
                ", className='" + className + '\'' +
                ", methodName='" + methodName + '\'' +
                '}';
    }
}
